package sipoc.messaging.channel;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.integration.channel.DirectChannel;
import org.springframework.integration.channel.interceptor.WireTap;
import org.springframework.stereotype.Component;

@Component
public class TransformerChannel extends DirectChannel {
	@Autowired
	RegisterEventChannel registerEvent;

	@PostConstruct
	public void addInterceptor() {
		super.addInterceptor(new WireTap(registerEvent));
	}

}
